home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6079 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  982 b 

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: How to the size of a file in C ?
  5. Date: 11 Feb 1996 12:02:36 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4fklss$oef@news1.usa.pipeline.com>
  8. References: <4fgo5q$4fl@news.tdl.com>
  9. NNTP-Posting-Host: pipe10.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline USA v3.3.0
  14.  
  15. On Feb 10, 1996 00:16:58 in article <Re: How to the size of a file in C ?>,
  16. 'twod@tdl.com (Ian Parkin)' wrote: 
  17.  
  18.  
  19. >Ain't 'stat' the way to go on this ? 
  20.  
  21. I could be -- except for portability.  I don't have the ANSI C 
  22. standard handy, but according to Borland 4.52 on-line docs, 
  23. stat isn't ANSIcompatible.  It's not even portable across 
  24. compilers on the same platform.  On MSVC++4.0 -- a very 
  25. popular compiler -- it's _stat, _wstat, _stati64, or _wstati64. 
  26.  
  27. -- 
  28. Pete Grant 
  29. Kalevi, Inc. 
  30. Object Oriented Software Development
  31.